#ifndef __BMP_H
#define __BMP_H


typedef struct caixukun{
    char filename[32];
}cai;

struct cor{
	int x;
	int y;
};



int show_bmp(int x,int y,char *filename);

int circle_show_bmp(int x,int y,struct caixukun picture[]);
//图片放缩
struct cor calculate_top_left_corner(int width, int height, float scale_x, float scale_y);
//显示放缩后的图片
int show_bmp_scaled(int x0, int y0, char *filename, float scale_x, float scale_y);


extern cai photo[20]; 
int is_bmp_file(const char *filename);
void write_bmp(const char *filename, const char *rgb888, int width, int height);
int numsofAlbum();

#endif